package com.itc.dispatch.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itc.common.core.domain.R;
import com.itc.common.security.utils.SecurityUtils;
import com.itc.dispatch.domain.DisFlightSearchConfig;
import com.itc.dispatch.service.DisFlightSearchConfigService;
import com.itc.dispatch.mapper.DisFlightSearchConfigMapper;
import org.springframework.stereotype.Service;

/**
* @author zhangyh
* @description 针对表【dis_flight_search_config(航班运行监控查询条件配置)】的数据库操作Service实现
* @createDate 2024-06-05 10:07:37
*/
@Service
public class DisFlightSearchConfigServiceImpl extends ServiceImpl<DisFlightSearchConfigMapper, DisFlightSearchConfig>
    implements DisFlightSearchConfigService{

    @Override
    public R delete(DisFlightSearchConfig dto) {
        this.baseMapper.deleteById(dto.getId());
        return R.ok("删除成功");
    }
}




